<%@page import="java.util.Random"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
 .divcss5-4{border-bottom:1px dashed #000; height:50px;width:350px}
</style>
</head>

<body>

<%
    Random rad=new Random();
    int radParam=rad.nextInt();
%> 


   <script type="text/javascript">
   var jsonData=[
             {"href":"http://war.163.com/12/0628/09/852VADBR00011MTO.html","title":"菲律宾海军司令称正等待总统命令重返黄岩岛"},
             {"href":"http://war.163.com/12/0628/09/852UTCB900011MTO.html","title":"巴沙尔称叙利亚将赢得战争 土军进入红色警戒"},
             {"href":"http://war.163.com/12/0627/13/850PI13000011MTO.html","title":"中国南海油田招标位置贴九段线接近越南"},
             {"href":"http://war.163.com/12/0627/12/850OHO6J00011MTO.html","title":"菲澄清其渔船系遇风浪沉没 被撞沉说法不实"},
             {"href":"http://war.163.com/12/0627/11/850KL45E00011MTO.html","title":"台海巡署否认有船只在钓鱼岛海域遭日方驱逐"},
             {"href":"http://war.163.com/12/0627/09/850DGPL300011MTO.html","title":"韩国在白翎岛修建海军基地距朝鲜仅10公里"},
             {"href":"http://war.163.com/12/0627/13/850RMIOP00011MTO.html","title":"分析称叙击落土F4战机可能打消北约动武念头"},
             {"href":"http://war.163.com/12/0627/13/850PPCPQ00011MTO.html","title":"专家：越菲购买战机意图挑起局部军备竞赛"}
             
       ];
   
    $(document).ready(function(){
    	  var content=[];
		   for(var i=0;i<jsonData.length;i++){
			   var str ="<li><a href='javascript:void(0);' onclick='openImageNews(\""+jsonData[i].href+"\",\""+jsonData[i].title+"\")' target='"+jsonData[i].target+"' >"+jsonData[i].title+"</a></li>";
			   content.push(str);
		   }
		   var res=content.join("");
		    $("#ul_id_${param.id}_<%=radParam%>").append(res); 
		    
		  
    });
          
   </script>

		<ul id="ul_id_${param.id}_<%=radParam%>" type="square"></ul>
	
</body>
</html>